package com.example.demo.Entity;

import org.springframework.stereotype.Component;

//让实体类可以自动注入
@Component
public class Operation {
    //操作表记录的唯一id
    private int id;
    //操作用户的账号
    private String userid;
    //操作订单号
    private String statisticsId;
    //操作类型
    private String type;
    //操作时间
    private String time;
    //操作明细
    private String detailed;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getStatisticsId() {
        return statisticsId;
    }

    public void setStatisticsId(String statisticsId) {
        this.statisticsId = statisticsId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDetailed() {
        return detailed;
    }

    public void setDetailed(String detailed) {
        this.detailed = detailed;
    }
}
